import { PassportModule } from '@nestjs/passport';
import { CarBrand } from './car_brand.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Module } from '@nestjs/common';
import { CarBrandService } from './car_brand.service';
import { CarBrandController } from './car_brand.controller';

@Module({
  imports: [
    TypeOrmModule.forFeature([CarBrand]),
    PassportModule.register({ defaultStrategy: 'jwt' }),
  ],
  controllers: [CarBrandController],
  providers: [CarBrandService],
  exports: [CarBrandService],
})
export class CarBrandModule {}
